package cc.rengu.redp.bizimpl.upmp.common;

/**
 * 报文头 HEAD 部分
 * @author hh
 *
 */

public class HEAD {
	
	private static String HEAD_VERSION = "1.0.0";
	private static String HEAD_SRC_SYS_ID = "CMCP";
	private static String HEAD_REQ_SYS_ID = "CMCP";
	private static String HEAD_DES_SYS_ID = "SWTS";
	private static String HEAD_TERM_TYPE = "03";
                                                          
	private String version;			//版本号
	                                                      
	private String src_sys_id;		//源系统标识
                                                          
	private String req_sys_id;		//请求系统标识
	                                                      
	private String des_sys_id;		//目标系统标识
	                                                      
	private String term_type;		//终端类型 （暂用：03-未知）
	
	/** 法人机构号 **/
	private String group_id;
	                                                      
	private String txn_inst;		//交易机构号
	                                                      
	private String txn_date;		//交易日期
	                                                      
	private String txn_time;		//交易时间
	                                                      
	private String txn_ssn;			//商户订单号
	                                                      
	private String txn_num;			//交易代码
	                                                      
	private String telr_id;			//操作员代码
	                                                      
	private String req_reserved;	//请求方保留域
	
	public HEAD() {
		super();
		setVersion(HEAD_VERSION);
		setSrc_sys_id(HEAD_SRC_SYS_ID);
		setReq_sys_id(HEAD_REQ_SYS_ID);
		setDes_sys_id(HEAD_DES_SYS_ID);
		setTerm_type(HEAD_TERM_TYPE);
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getSrc_sys_id() {
		return src_sys_id;
	}

	public void setSrc_sys_id(String src_sys_id) {
		this.src_sys_id = src_sys_id;
	}

	public String getReq_sys_id() {
		return req_sys_id;
	}

	public void setReq_sys_id(String req_sys_id) {
		this.req_sys_id = req_sys_id;
	}

	public String getDes_sys_id() {
		return des_sys_id;
	}

	public void setDes_sys_id(String des_sys_id) {
		this.des_sys_id = des_sys_id;
	}

	public String getTerm_type() {
		return term_type;
	}

	public void setTerm_type(String term_type) {
		this.term_type = term_type;
	}

	public String getTxn_inst() {
		return txn_inst;
	}

	public void setTxn_inst(String txn_inst) {
		this.txn_inst = txn_inst;
	}

	public String getTxn_date() {
		return txn_date;
	}

	public void setTxn_date(String txn_date) {
		this.txn_date = txn_date;
	}

	public String getTxn_time() {
		return txn_time;
	}

	public void setTxn_time(String txn_time) {
		this.txn_time = txn_time;
	}

	public String getTxn_ssn() {
		return txn_ssn;
	}

	public void setTxn_ssn(String txn_ssn) {
		this.txn_ssn = txn_ssn;
	}

	public String getTxn_num() {
		return txn_num;
	}

	public void setTxn_num(String txn_num) {
		this.txn_num = txn_num;
	}

	public String getTelr_id() {
		return telr_id;
	}

	public void setTelr_id(String telr_id) {
		this.telr_id = telr_id;
	}

	public String getReq_reserved() {
		return req_reserved;
	}

	public void setReq_reserved(String req_reserved) {
		this.req_reserved = req_reserved;
	}

	public String getGroup_id() {
		return group_id;
	}

	public void setGroup_id(String group_id) {
		this.group_id = group_id;
	}
	
}
